package com.ruoyi.network.model.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.ruoyi.network.enums.ExpiryStatusEnum;
import com.ruoyi.network.enums.UasgeStatusEnum;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * IP地址Excel表格数据VO
 *
 * @author lyp
 */

@Data
@ApiModel(value = "IpAddressExcelVO", description = "IP地址Excel表格数据VO")
@ExcelIgnoreUnannotated
@ColumnWidth(16)
@HeadRowHeight(14)
@HeadFontStyle(fontHeightInPoints = 11)
public class IpAddressExcelVO {
    @ExcelProperty(value = "序号")
    private Integer index;
    @ExcelProperty(value = "网段地址")
    private String rangeName;
    @ExcelProperty(value = "主机名称")
    private String hostname;
    @ExcelProperty(value = "IP地址")
    private String ipFormatValue;
    @ExcelProperty(value = "MAC地址")
    private String macAddress;
    @ExcelProperty(value = "使用人员")
    private String usageUserName;
    @ExcelProperty(value = "使用状态")
    private UasgeStatusEnum usageStatus;
    @ExcelProperty(value = "时效状态")
    private ExpiryStatusEnum expiryStatus;

    private String rangeKey;

    private Long ipValue;
}
